package com.xxh.pojo;

public class Student {
    private int sid;
    private String sname;
    private String spassword;
    private String saddr;

    public Student() {
    }
    public int getSid() {
        return sid;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getSpassword() {
        return spassword;
    }

    public void setSpassword(String spassword) {
        this.spassword = spassword;
    }

    public String getSaddr() {
        return saddr;
    }

    public void setSaddr(String saddr) {
        this.saddr = saddr;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + sid +
                ", usename='" + sname + '\'' +
                ", password='" + spassword + '\'' +
                ", addr='" + saddr + '\'' +
                '}';
    }
}
